package com.attendance.utils.wx;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 微信回调接口
 *
 * @author 鵺丶
 * @date 2020/12/31
 */
@Controller
public class WxController {
    @Autowired
    WxService wxService;

    @RequestMapping("/WxLogin")
    public void wxLogin(String code) {
        wxService.wxLogin(code);
    }
}